* xterm.c (handle_one_xevent): Only set async_visible and friends
authorJan D. <jan.h.d@swipnet.se>
Tue, 29 Nov 2011 18:08:53 +0000 (19:08 +0100)
committerJan D. <jan.h.d@swipnet.se>
Tue, 29 Nov 2011 18:08:53 +0000 (19:08 +0100)
commite4b843866343a2db6ec947cd28aa07ce4e6e00b7
tree6742649d29cf7fd9beaeb530a39260832de8b731
parent7b3944b462c6e333791b68c1fcf314dc6a492405
* xterm.c (handle_one_xevent): Only set async_visible and friends
if net_wm_state_hidden_seen is non-zero
(get_current_wm_state):  Set net_wm_state_hidden_seen to 1 if
_NET_WM_STATE_HIDDEN is in NET_WM_STATE.

* xterm.h (struct x_output): net_wm_state_hidden_seen is new.
src/ChangeLog
src/xterm.c
src/xterm.h